package cn.news.dao;

import cn.news.pojo.Detail;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface DetailMapper {
        List getNews(@Param("categoryId")Integer categoryId,@Param("title") String title);
        Detail getById(Integer id);
        int update(Detail detail);
}
